package com.qf.dao;

import com.qf.domain.User;

import java.util.List;

public interface UserDao {
    User selectByUserName(String username);

    void insert(User user);

    List<User> selectAll(String toString, List<Object> params, boolean flag);

    void delete(int did);

    User selectById(Integer uid);
}
